package com.subang.function.mapper;

import com.subang.function.domain.ShenlunReferenceAnswers;

import java.util.List;

/**
 * 申论参考答案Mapper接口
 * 
 * @author subei
 * @date 2025-02-26
 */
public interface ShenlunReferenceAnswersMapper 
{
    /**
     * 查询申论参考答案
     * 
     * @param id 申论参考答案主键
     * @return 申论参考答案
     */
    public ShenlunReferenceAnswers selectShenlunReferenceAnswersById(String id);

    /**
     * 查询申论参考答案列表
     * 
     * @param shenlunReferenceAnswers 申论参考答案
     * @return 申论参考答案集合
     */
    public List<ShenlunReferenceAnswers> selectShenlunReferenceAnswersList(ShenlunReferenceAnswers shenlunReferenceAnswers);

    /**
     * 新增申论参考答案
     * 
     * @param shenlunReferenceAnswers 申论参考答案
     * @return 结果
     */
    public int insertShenlunReferenceAnswers(ShenlunReferenceAnswers shenlunReferenceAnswers);

    /**
     * 修改申论参考答案
     * 
     * @param shenlunReferenceAnswers 申论参考答案
     * @return 结果
     */
    public int updateShenlunReferenceAnswers(ShenlunReferenceAnswers shenlunReferenceAnswers);

    /**
     * 删除申论参考答案
     * 
     * @param id 申论参考答案主键
     * @return 结果
     */
    public int deleteShenlunReferenceAnswersById(Long id);

    public int deleteShenlunReferenceAnswersByPaperId(String id);

    /**
     * 批量删除申论参考答案
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShenlunReferenceAnswersByIds(Long[] ids);
}
